﻿/* HTML5 display-role reset for older browsers */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* Global
----------------------------------------------------------*/
h1 {
    font-size: 3em;
    font-weight:bold;
    color:#41414E;
}

h2 {
    font-size: 2em;
    color:#454D59;
}

h3 {
    font-size: 1.7em;
    color:#454D59;
}

h4 {
    font-size: 1.5em;
    color:#454D59;
}

h5 {
    font-size: 1.3em;
    color:#454D59;
}

h6 {
    font-size: 1.2em;
    color:#454D59;
}

body {
    background-color: #E0E0E0;
    color: #333333;
}

#head-container{
    background-color:#8C8BA7;
}

#body>div {
    margin-left: 14%;
    margin-right: 14%;
    padding:1.5% 1.5% 1% 1.5%;
    background-color:#FFFFFF;
}

#body>div>p:first-child{
    font-size:0.8em;
    margin-top:-2%;
    text-align:left;
}
#body>div>p:first-child a{
    text-decoration:none;
    color:#333333;
}
#body>div>p:first-child a:hover{
    text-decoration:underline;
}

/* Header
----------------------------------------------------------*/

#head-container{
    border-bottom: 3px solid #9291A7;
    padding-bottom: 1%;
    height: 5%;  
}

#head-container #site-logo{
    margin-top:1%;
    margin-left:1%;
    width:8%;
    height:auto;
}

#head-container .site-title{
    display: inline;
    position:absolute;
    margin-top:4%;
    margin-left:30%;
    margin-right:auto;
}

#head-container #login {
    margin-top:1%;
    margin-right:1%;
    float: right;
    text-align:right;
}

#head-container #login img{
    height:auto;
    width:30%;
}

#head-container #login a{
    display:block;
    text-decoration:none;
    color:#41414E;
}

#head-container #login a:hover{
    text-decoration:underline;
}

#nav #menu {
    text-align: center;
    margin:0.1%;
}

#nav #menu li {
    display: inline;
}

#nav #menu li a {
    font-family: Arial;
    text-decoration: none;
    padding: 0.5%;
    background-color: #988FA6;
    color: #372A4B;
    width: 16.8%;
    display:inline-block;
}

#nav #menu li a:hover {
    background-color: #372A4B;
    color:#988FA6;
}

#search-bar {

    width: 11%;
    position: absolute;
    margin-left:86%;
    margin-top: -2.5%;
}

.search-box {
    width: 90%;
    height: 20px;
    border-radius: 20px;
    background: url(/Images/search-white.png) no-repeat 10px 6px #fcfcfc;
    padding: 2px 2px 2px 28px;
}

/* Footer
----------------------------------------------------------*/

#footer {
    padding: 0.5% 0;
    border-top:3px solid #9291A7;
    margin-top:1%;
}

#footer .content-wrapper{
    clear:both;
    text-align: center;
    font-size: 0.8em;
    height:50px;
}

/* Main
----------------------------------------------------------*/
/*#main-page {
    margin-left: 10%;
}*/

#welcome {
    border: 3px solid #9291A7;
    display:inline-block;
    width:60%;
    margin: 0% 6% 2% 0%;
}

#welcome p {
    padding: 2%;
}

#news-table {
    margin-top:1%;
    float: right;
    width:25%;
    overflow-y: auto;
}

.news td{
    border:3px solid #9291A7;
}

#news-table a{
    text-decoration: none;
    color: #333333;
}

#news-table a:hover{
    text-decoration: underline;
}

.news h5{
    text-align: center;
}

.news p {
    word-break:break-all;
    padding: 2%;
}

.game{
    display: inline-block;
    border:3px solid #9291A7;
    width:29.4%;
}

.game h6{
    padding:1% 2% 5% 2%;
    text-align:center;
    border-bottom:2px solid #9291A7;
}

.game ul{
    list-style-type:none;
}

.game li {
    padding: 5%;
}

.game li a{
    color:#333333;
    text-decoration:none;
}

/* FAQ 
----------------------------------------------------------*/

#faq {
    text-align: center;
}

#faq .question {
    text-align:left;
    border: solid 2px #9291A7;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    width: 50%;
    background-color: #8D97A4;
}

#faq .question p {
    padding: 1.5%;
}

#faq .question p:first-letter
{
    font-weight:bold;
}

#faq h6{
    margin-top:2%;
}

#faq textarea{
    vertical-align:central;
    width:100%;
    resize:none;
}

#user-question {
    text-align:left;
    margin-left: auto;
    margin-right: auto;
    width: 500px;  
}

#question-submit {
    float: right;
    width: 80px;
    height: 40px;
}

/* Play Games 
----------------------------------------------------------*/
#play-game {
    text-align: center;
}

.category {
    text-align:left;
    border: 3px solid #9291A7;
    width: 25%;
    display:inline-block;
    margin-bottom:1%;
    margin-right: 1%;
}

.category img {
    position: relative;
    height: auto;
    width: inherit;
    display:inline-block;
}

.category a {
    display:inline-block;
    font-size: 20px;
    color: #333333;
    text-decoration: none; 
}

.category p{
    border-top:2px solid #9291A7;
}

#play-game {
    margin-left: 18.7%;
}

/* Category
----------------------------------------------------------*/
#category {
    text-align: center;
}

.category-game {
    border:2px solid #9291A7;
    padding:1%;
    text-decoration:none;
    display:inline-block;
    width:25%;
    margin-right:2%;
    margin-bottom:2%;
    text-align:left;
}

.category-game h5 a{
    text-decoration:none;
    color:#454D59;
}

.category-game p{
    text-decoration:none;
}

.category-game img{
    height:auto;
    width:inherit;
    padding-right:1%;
    float:left;
}

/* Chat Room
----------------------------------------------------------*/
#chatroom {
    text-align: center;
}


#chatroom .messages {
    float:left;
    text-align:left;
    border:3px solid #9291A7;
    overflow:auto;
    word-wrap:break-word;
    width:70%;
    height:300px;
    font-size:1.2em;
    padding:1%;
}

#chatroom .log {
    text-align:left;
    border:3px solid #9291A7;
    overflow:auto;
    width:20%;
    height:300px;
    font-size:0.9em;
    padding:1%;
    display:inline-block;
}

#chatroom .log span {
    font-size:1.5em;
    display: block;
}

#chatroom .send {
    width:10%;
    font-size:1.2em;
    margin-left: 1%; 
}

#chatroom .new-message {
    text-align: left;
}

#chatroom .messagestext {
    width:70%;
    margin-top:1%;
    padding:5px;
}

#chatroom #ChatHeader h3 {
    margin-left: 18%;
}

/* Tic-Tack-Toe
----------------------------------------------------------*/
#Tic-Tack-Toe
{
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    width: 400px;
    border: hidden;
    text-align: center;
    table-layout: fixed;
    border-collapse:collapse;
    margin-top:4%;
}

#Tic-Tack-Toe tr td div {
    width:100%;
    height:20px;
}

#Tic-Tack-Toe #AA-11, #AB-12, #AC-13, #BA-21, #BB-22, #BC-23
{
    border-bottom: 5px solid black;
}

#Tic-Tack-Toe #AB-12, #BB-22, #CB-32
{
    border-left: 5px solid black;
    border-right: 5px solid black;
}

#Tic-Tack-Toe #AA-11, #AB-12, #AC-13, #BA-21, #BB-22, #BC-23, #CA-31, #CB-32, #CC-33
{
    word-wrap: break-word;
    text-overflow: ellipsis;
    display: table-cell;
    white-space: nowrap;
    overflow: hidden;
    width: 10%;
    height: 30px;
}

#Tic-Tack-Toe .Cross
{
    height: 50px;
    width: 50px;
    vertical-align:middle;
}

#Tic-Tack-Toe .Containter
{
    border-bottom: 5px solid black;
    word-wrap: break-word;
    position: relative;
}

#Tic-Tack-Toe #RightMessage
{
    float: right;
    margin-right: auto;
    width: 200px;
    font-size: 20px;
}

#Tic-Tack-Toe #LeftMessage
{
    float: left;
    margin-left: auto;
    width: 200px;
    font-size: 20px;
}

/* Game
----------------------------------------------------------*/

#game-page img{
    padding-right:1%;
    padding-bottom:1%;
    width:10%;
}

#game-buttons{
    margin-top:2%;
    text-align:center;
}

#game-buttons a {
    margin-left:2%;
    color:black;
    background-color:#8d8888;
    text-decoration:none;
    border: 1px solid black;
    padding:1%;
}

#game-buttons a:hover{
    background-color:#dadada
}

.alerts {
    color: red;
    text-align: center;
    margin-top: 3%;
    margin-right: 30%;
    font-size: 140%;
}

#game-page .rating {
    float: right; 
}

/* CreateGame
----------------------------------------------------------*/

#description {
	border: solid 2px black;
	margin-left: auto;
	margin-right: auto;
	width: 40%;
	padding: 0.5%;
}

#info{
	margin-left: 20%;
}

#info select{
	margin-left: 13%;
	margin-top: -2.8%;
}

#info2{
	margin-left: 20%;
}

#GameTimeLimit{
	padding-left: 30%;
	margin-top: -4.5%;
	padding-bottom: 0.8%;
}

#PlayerTimelimit{
	padding-left: 30%;
}

/* JoinGame
----------------------------------------------------------*/

#join-game-table table {
    border: solid 2px black;
     border-collapse: collapse;
     width: 60%;
}

#join-game-table td {
    border-right: solid 2px black;
    
   
}

#join-game-table th {
    border-bottom: solid 2px black;
    background-color: #dadada;
   
}

/* Profile
----------------------------------------------------------*/
#profile a{
    text-decoration:none;
    color:#333333;
}

#profile #profile-information {
    width:50%;
    display: inline-block;
}

#profile #profile-information #details{
    padding:5% 10% 10% 10%;
    display:block;
}

#profile #profile-information #details p{
    padding:1%;
}

#profile #profile-information #about p {
    padding:1%;
    border: 2px solid #9291A7;
}

#profile #profile-statistics {
    float: right;
}

#profile #profile-statistics table{
    border-collapse:collapse;
    border:2px solid #9291A7;
    margin-bottom:10%;
    width:100%;
}

#profile #profile-statistics table th{
    border-bottom:1px solid #9291A7;
    background-color:#dadada;
}

#profile #profile-statistics table td{
    border-bottom:1px solid #9291A7;
}

#profile #profile-statistics table th, 
#profile #profile-statistics table td{
    border-left:1px solid #9291A7;
    padding:1%;
}

#profile img {
    float: left;
    width:10%;
    height:auto;
}
/* Edit profile
---------------------------------------------------------*/
#edit-profile-page ul {
    list-style:none;
}

/* Change password
---------------------------------------------------------*/
#change-password-list 
{
    list-style:none;
}


/* All groups, Group view
---------------------------------------------------------*/
#allgroups-page ul,  #group-page ul{
    list-style: none;
}

#allgroups-page li, #group-page li{
    border-bottom: 1px solid #9291A7;
    width:25%
}

#allgroups-page ul a, #group-page ul a{
    text-decoration:none;
    color:#333333;
}


/* Log in
---------------------------------------------------------*/

#log-in-title 
{
    font-size: 150%;
}

#log-in-form 
{
    margin-left: 3%;
}

#log-in-list 
{
    list-style: none;    
}

.log-in-list-items 
{
    margin-top: 2%;
}

#log-in-button 
{
    margin-top: 2%; 
    margin-bottom: 2%;
    padding: 0.5%; 
    padding-right: 2.5%;
    padding-left: 2.5%;
}

/* Register 
--------------------------------------------------------*/

#register-surrounding-div 
{
    margin-left: 23.5%;
}

#register-title 
{
    font-size: 150%;
    margin-bottom: 2%;
}

#register-form 
{
    margin-left: 3%
}

#register-list 
{
    list-style: none;
}

.register-list-items 
{
    margin-bottom: 2%;
}

#register-button 
{
    margin-top: 2%;
    margin-bottom: 2%;
    padding: 0.5%;
    padding-right: 2.5%;
    padding-left: 2.5%;
}

/* Admin Tools
-------------------------------------------------------*/

#admin-tools-surrounding-div 
{
    text-align: center;
    margin-top: 2.5%;
    margin-bottom: 3%;
    height:25em;
}

#admin-tools-game-list-section 
{
    float: left;
    width: 30%;
    height: auto;
    display: inline-block;
}

.admin-tools-headings 
{
    text-align: center;
    margin-bottom: 5%;
}

.admin-tools-list-table-div
{
    width: 99%;
    height: 19.9em;
    margin-right: 5%;
    border: 1px solid;
    overflow-y: auto;
}

.admin-tools-list-table 
{
    width: 100%;
}

.admin-tools-list-table-name
{
    max-width: 100%;
    text-align: left;
    border: 1px solid;
    padding-left: 1%;
    padding-right: 10%;
}

.admin-tools-list-table-id
{
    border: 1px solid;
}

#admin-tools-remove-button 
{
    width: auto;
    height: auto;
    margin-left: 65%;
    padding: 1%;
    padding-right: 4%;
    padding-left: 4%;
}

#admin-tools-announcement-section 
{
    width: 30%;
    height: auto;
    display: inline-block;
    margin-bottom: 1%;
}

/*#admin-tools-announcement-title 
{
    display: list-item;
    resize: none;
    margin-bottom: 3%;
}*/

.announcement-title 
{
    resize: none;
    overflow-y: auto;
}

.announcement-body
{
    resize: none;
    height: 15em;
    overflow-y: auto;
}

#admin-tools-user-list-section 
{
    float: right;
    display: inline-block;
    width: 30%;
    height: auto;
}

#admin-tools-ban 
{
    margin-left: -8%;
    padding: 1%;
    padding-right: 4%;
    padding-left: 4%;
}

#admin-tools-warning 
{
    margin-left: 40%;
    padding: 1%;
    padding-right: 4%;
    padding-left: 4%;
}

.admin-tools-add-game
{
    margin-top: 5%;
    text-align: center;
    padding: 0.5%;
    padding-right: 2%;
    padding-left: 2%;
}

/* News 
----------------------------------------------------------*/

#news-page h3 {
    text-align:center;
    margin-bottom:1%;
}

#news-page .news-main{
    border: 1px solid #9291A7;
    padding: 0% 1% 1% 1%;
    margin-bottom: 2%;
}

#news-page .news-main h4 a{
    text-decoration:none;
    color:#333333;
    padding:1%;
}

#news-page .news-main h4 a:hover{
    text-decoration:underline;
}

#news-title 
{
    color: #313186;
}

#news-paragraph
{
    word-break: normal;
}

#news-page .newsDate {
    font-weight:bold;
    text-align:right;
    font-size: 0.7em;
    margin-right:1%;
}

/* News edit
----------------------------------------------------------*/

#edit-news-page {
    text-align: center;
}

#edit-news-page div{
}

#edit-news-page .editor-label{
    margin:1%;
}

#edit-news-page .editor-field textarea{
    resize:none;
    height:5em;
    width:50%;
}

/* Game
-----------------------------------------*/
#play-page a {
    text-decoration: none;
    color: black;
}

#play-page a:hover{
    text-decoration:underline;
}

#play-page .game-box {
    border: 3px solid #9291A7;
    height: 350px;
    width: 70%;
    margin-right: 2%;
    margin-bottom: 2%;
    float: left;
}

#play-page #game-chat .log {
    text-align: left;
    border: 3px solid #9291A7;
    overflow: auto;
    width: 20%;
    height: 80px;
    padding: 1%;
    display: inline-block;
    margin-bottom:1%;
}

#play-page #game-chat span {
    display: block;
}

#play-page #game-chat .messages {
    text-align: left;
    border: 3px solid #9291A7;
    overflow: auto;
    word-wrap: break-word;
    width: 20%;
    height: 180px;
    padding: 1%;
    margin-bottom: 2%
}

#play-page .messagestext {
    width: 15%;
}

.diceroll {
    color:green;
}

.race-img {
    height: 5em;
    width: 60%;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

#charname {
    display: block;
    font-weight: bold;
    padding: 3%;
    text-align: center;
}

.skill {
    display: block;
}

.hp {
    display:block;
}

.message-action {
    color:blue;
}


/* Chat Room
----------------------------------------------------------*/
#search-results a {
    text-decoration:none;
    color: #333333;
}

#search-results a:hover{
    text-decoration:underline;
}

/* Keyboard Warriors
---------------------------------------------------------*/
#buttons ul {
    text-decoration: none;
}

#buttons ul li
{
    display: inline-block;
    padding-right: 5%;
}
#dice
{
    display: inline-block;
    margin-left: 3%;
}
#dice img
{
    height:6em;
    width:auto;
}
#sheet {
    border:3px solid black;
    height:12em;
    width:23%;
    padding: 1%;
    float:left;
    margin-right: 5%;
}

#main-chat {
    border:3px solid black;
    width:58%;
    height:180px;
    margin-left:28%;
    margin-top:2%;
    overflow: auto;
}

#buttons {
    padding:1px 6px;
    margin-left:34%;
}

#message-box {
    height:6em;
    width:40%;
    border:3px solid black;
    display:inline-block;
    margin-left:20%;
    overflow: auto;
}

#game-send {
    float: right;
    margin-top: 9%;
    width: 10%;
    margin-right: 8%;
    height: 10%;
}

.message-admin {
    color:red;
}

#master-name {
    display: block;
    font-size: 65%;
    text-align: center;
    font-weight: bold;
}

#kill {

}

#kill-val {
    width: 60%;
}

#command-box {
    width:40%;
}


/* Chat Room
----------------------------------------------------------*/
/*#chatroom {
    text-align: center;
}


#chatroom .messages {
    float:left;
    text-align:left;
    border:3px solid black;
    overflow:auto;
    word-wrap:break-word;
    width:70%;
    height:300px;
    font-size:1.2em;
    padding:1%;
}

#chatroom .log {
    text-align:left;
    border:3px solid black;
    overflow:auto;
    width:20%;
    height:300px;
    font-size:0.9em;
    padding:1%;
    display:inline-block;
}

#chatroom .log span {
    font-size:1.5em;
    display: block;
}

#chatroom .send {
    width:10%;
    font-size:1.2em;
    margin-left: 1%; 
}

#chatroom .new-message {
    text-align: left;
}

#chatromm .messagestext {
    width:70%;
    margin-top:1%;
    padding:5px;
}

#chatroom #ChatHeader h3 {
    margin-left: 18%;
}*/